// import './assets/main.css' 目前用不到 防止冗余 
import { createApp } from 'vue'
import { createPinia } from 'pinia' // Pinia 
import persist from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn' // 国际化
// ------------------------------------- 全局引入 优先级 上 --- 下 -------------------------------------
import '@/assets/global.css'


const app = createApp(App)

app.use(createPinia().use(persist))
app.use(router)
app.use(ElementPlus, {
    locale: zhCn
})

app.mount('#app')

